-
Notifications
You must be signed in to change notification settings - Fork 33
SDK v2 development #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left small comments - only big comment, and maybe it's too late.. I think I prefer all_tasks
to tasks_all
but if it is too late... (I think it might be.. 😅 ) - I'm fine.
@shaun-scale Existing methods were named as For naming new yield/generator methods, some prefer We can use Another alternative is to use |
I think I like the plural versions ( |
Python SDK v2.0 development completed.
More details are available in the migration guide and will be provided in Release Notes.
You can refer to the internal PRD as well.
High level summary:
Object model updates:
as_dict()
introduced to access object as a dictNew ways to retrieve the list of tasks/batches:
tasks_list
andbatches_list
are the new generator methods for bulk retrievalAPI:
Infra improvements:
pre-commit
for a better/consistent developer experiencepublish.sh
introduced for an automated publish to PyPIpytest
test cases are addedDocumentation
Testing results with pytest: